const weRequest = require('../utils/weRequest')
const API = {
  reserveTaskList:"studyTask/reserveTaskList",
  batchSubscribe:"subscribeTasks/batchSubscribe"
};
const studyTaskAPI = {
  reserveTaskList(data){
    return weRequest.request({
      showLoading: true,url:API.reserveTaskList,
      method:'get',
      data:data
    })
  },
  batchSubscribe(data){
    return weRequest.request({
      showLoading: true,url:API.batchSubscribe,
      method:'post',
      data
    })
  }  
}
module.exports =  studyTaskAPI;